package com.ruoyi.combat.domain.useralignment;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class CombatAlignmentTaskVo {

    private static final long serialVersionUID = 1L;

    /** 抗对齐任务id */
    private Long id;

    /** 抗对齐任务名称 */
    @Excel(name = "抗对齐任务名称")
    private String taskname;

    /** 抗对齐任务创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "抗对齐任务创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatime;

    /** 任务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startime;

    /** 任务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 方法id */
    @Excel(name = "方法id")
    private Long methodId;

    /** 方法名称 */
    @Excel(name = "方法名称")
    private String methodName;

    /** 方法结果 */
    @Excel(name = "方法结果")
    private String taskResult;

    /** 对齐用户一id */
    @Excel(name = "对齐用户一id")
    private String fromUserId;

    /** 对齐用户一名称 */
    @Excel(name = "对齐用户一名称")
    private String fromUserName;

    /** 对齐用户二id */
    @Excel(name = "对齐用户二id")
    private String toUserId;

    /** 对齐用户二名称 */
    @Excel(name = "对齐用户二名称")
    private String toUserName;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String tasktype;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String taskstate;
    private String warnId;
    private String createby;

    private Map initData;

    private Map nowData;



    public String getCreateby() {
        return createby;
    }

    public void setCreateby(String createby) {
        this.createby = createby;
    }

    public String getWarnId() {
        return warnId;
    }

    public void setWarnId(String warnId) {
        this.warnId = warnId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTaskname(String taskname)
    {
        this.taskname = taskname;
    }

    public String getTaskname()
    {
        return taskname;
    }
    public void setCreatime(Date creatime)
    {
        this.creatime = creatime;
    }

    public Date getCreatime()
    {
        return creatime;
    }
    public void setStartime(Date startime)
    {
        this.startime = startime;
    }

    public Date getStartime()
    {
        return startime;
    }
    public void setEndtime(Date endtime)
    {
        this.endtime = endtime;
    }

    public Date getEndtime()
    {
        return endtime;
    }
    public void setMethodId(Long methodId)
    {
        this.methodId = methodId;
    }

    public Long getMethodId()
    {
        return methodId;
    }
    public void setMethodName(String methodName)
    {
        this.methodName = methodName;
    }

    public String getMethodName()
    {
        return methodName;
    }
    public void setTaskResult(String taskResult)
    {
        this.taskResult = taskResult;
    }

    public String getTaskResult()
    {
        return taskResult;
    }
    public void setFromUserId(String fromUserId)
    {
        this.fromUserId = fromUserId;
    }

    public Map getInitData() {
        return initData;
    }

    public void setInitData(Map initData) {
        this.initData = initData;
    }

    public Map getNowData() {
        return nowData;
    }

    public void setNowData(Map nowData) {
        this.nowData = nowData;
    }

    public String getFromUserId()
    {
        return fromUserId;
    }
    public void setFromUserName(String fromUserName)
    {
        this.fromUserName = fromUserName;
    }

    public String getFromUserName()
    {
        return fromUserName;
    }
    public void setToUserId(String toUserId)
    {
        this.toUserId = toUserId;
    }

    public String getToUserId()
    {
        return toUserId;
    }
    public void setToUserName(String toUserName)
    {
        this.toUserName = toUserName;
    }

    public String getToUserName()
    {
        return toUserName;
    }
    public void setTasktype(String tasktype)
    {
        this.tasktype = tasktype;
    }

    public String getTasktype()
    {
        return tasktype;
    }
    public void setTaskstate(String taskstate)
    {
        this.taskstate = taskstate;
    }

    public String getTaskstate()
    {
        return taskstate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("taskname", getTaskname())
                .append("creatime", getCreatime())
                .append("startime", getStartime())
                .append("endtime", getEndtime())
                .append("methodId", getMethodId())
                .append("methodName", getMethodName())
                .append("taskResult", getTaskResult())
                .append("fromUserId", getFromUserId())
                .append("fromUserName", getFromUserName())
                .append("toUserId", getToUserId())
                .append("toUserName", getToUserName())
                .append("tasktype", getTasktype())
                .append("taskstate", getTaskstate())
                .toString();
    }
}
